#ifndef DB_CONNINFO_H
#define DB_CONNINFO_H
#include "opengauss/libpq-fe.h"
#include <string>

void checkResult(PGresult *res, PGconn *conn);
PGconn *createPGConnection(const std::string &connectionInfo);
int CreateTable(PGconn *conn);
int InsertTable(PGconn *conn, const char *sql);
#endif
